<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<MvcEngineModelItem<Log>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%= Model.Localize("LogDetailsPageTitle")%></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="page-title" id="logs-header">
         <h1><%= Model.Localize("LogDetailsPageHeader")%></h1>
    </div>
    <div class="page-menu">
       <%= Html.UrlActionLink(Model.Localize("BackLink"), Url.Logs(null))%> |
       <%= Html.UrlActionLink(Model.Localize("DeleteLink"), Url.DeleteLog(Model.Item.Id))%>
    </div>
    
  <div class="widget log">
    <h3><%= Model.Localize("InformationWidgetLabel")%> </h3>
        <table>
            <tr>
                <th>
                    <% = Model.Localize("MessageLabel") %> 
                </th>
                <td>
                    <%=Model.Item.Message%>
                </td>
            </tr>
            <tr>
                <th>
                    <% = Model.Localize("ExceptionLabel")%> 
                </th>
                <td>
                    <%=Model.Item.Exception%>
                </td>
            </tr>
            <tr>
                <th>
                   <% = Model.Localize("DateLabel")%> 
                </th>
                <td>
                    <%=Model.Item.CreatedDate%>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
